package com.example.wanxiang.entity;

import jakarta.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/*
    用户信息表
 */

@Document
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserInform {
    @Id
    private String id;      //主键自增id

    private long userId;    //用户id

    private List<String> ArticleId; //阅文记录

    private String imageId;  // 头像的图片

}